﻿using System;
using System.Collections.Generic;
using System.Text;

namespace student_table.Entity
{
    class Student
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public int Height { get; set; }
        // 自动判别外键
        public int ClassGradeId { get; set; }
        // 导航属性
        public ClassGrade ClassGrade { get; set; }
    }
}
